package com.wx.domain.dto;

import com.wx.common.UpdateValidate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;


/**
 * <p>Title:      CheckAddressCodeDto. </p>
 * <p>Description TODO </p>
 * <p>Copyright: Copyright (c) 2016</p>
 * <p>Company:    医百科技有限公司 </p>
 *
 * @author         <a href="xinglinglove1029@163.com"/>杨文生</a>
 * @since      2018/2/24 17:06
 */
@Data
@ApiModel(value = "校验地址编码唯一Dto ")
public class CheckAddressCodeDto implements Serializable {

	private static final long serialVersionUID = -819578099609922577L;
	/**
	 * 用户ID
	 */
	@ApiModelProperty(value = "id")
	@NotBlank(message = "id不能为空", groups = {UpdateValidate.class})
	private String id;

	/**
	 * 用户名
	 */
	@ApiModelProperty(value = "编码")
	private String addressCode;
}
